package sojo.com.inverter.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import sojo.com.inverter.entity.InverterVo;
import com.baomidou.dynamic.datasource.annotation.DS;

/**
 * @author cheng_hu
 * @description:
 * @date 2023-02-23 19:29:35
 */
@Mapper
public interface InverterMapper extends BaseMapper<InverterVo> {

    @DS("tdengine")
    void insertInverterData(InverterVo inverterVo);

    @DS("tdengine")
    void createInverterTable(@Param("num") String num, @Param("deviceId") String deviceId);
}
